if(t == this.btnAutoFlip || t == this.btnContents || t == this.btnFirstPage || t == this.btnLastPage || t == this.btnNextPage || t == this.btnPrevPage || t == this.btnSearch || t == this.btnThumbs || t == this.tbPage || t == this.imgLogo) return;
var menuArray = [RunTime.flipBook.btnContents,RunTime.flipBook.btnThumbs,RunTime.flipBook.btnSearch,RunTime.flipBook.btnShowTxt,RunTime.flipBook.btnMask,RunTime.flipBook.btnBookMark,RunTime.flipBook.btnAutoFlip,RunTime.flipBook.btnEmail,RunTime.flipBook.btnSns,RunTime.flipBook.btnAboutUs];
var showArray = [RunTime.book.menuTocVisible,RunTime.book.menuThumbsVisible,RunTime.book.menuSearchVisible,RunTime.book.menuTxtVisible,RunTime.book.menuHighlightVisible,RunTime.book.menuBookmarkVisible,RunTime.book.menuAutoFlipVisible,RunTime.book.menuEmailVisible,RunTime.book.menuSnsVisible,RunTime.book.menuAboutUsVisible];
var menuCount = 10;
var t = js.Lib.window.navigator.userAgent;
if(t.indexOf("CPU iPhone OS ") != -1) {
var iosVar = HxOverrides.substr(t,t.indexOf("CPU iPhone OS ") + 14,1);
if(singleMode) s += "<button onclick=\"addBookmark(0)\">Add Bookmark</button>"; else {
if(lbEnable) s += "<button onclick=\"addBookmark(-1)\">Add Left Bookmark</button>"; else s += "<button disabled=\"disabled\">Add Left Bookmark</button>";
if(rbEnable) s += "<button onclick=\"addBookmark(1)\">Add Right Bookmark</button>"; else s += "<button disabled=\"disabled\">Add Right Bookmark</button>";
}
s += "<button>Remove All</button>";
s += "</div>";
s += "<ul style=\"margin:20px 0px 0px 0px;padding-left:5px;padding-right:5px;\">";
if(bookmarks != null) {
var _g1 = 0, _g = bookmarks.length;
while(_g1 < _g) {
var i = _g1++;
var bookmark = bookmarks[i];
s += core.HtmlHelper.toBookmarkNodeHtml(bookmark);